<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>获取完整地收货地址</title>
</head>
<body>
    <script>
        function address(sm,sjm,qm,xx){
            alert("地址："+sm+"省"+sjm+"市"+qm+"区"+xx);
            document.write("地址："+sm+"省"+sjm+"市"+qm+"区"+xx);
        }
        address("福建","龙岩","新罗","漕溪路闽西职业技术学院团结里12栋717");
    </script>
</body>
</html>